Example

> a = rand(4,3)
 a =
        1     0.0369      0.204
    0.975      0.162      0.167
    0.647      0.665      0.655
    0.333     0.0847      0.129
> ColLabels = ["Col 1","2nd","The third Column"];
> RowLabels = ["Row 1","second row","beavis","butthead"];
> printmat(a)
              ----1----   ----2----   ----3----
--  1 -->        1.00000     0.03694     0.20414
--  2 -->        0.97452     0.16171     0.16731
--  3 -->        0.64748     0.66465     0.65496
--  4 -->        0.33309     0.08467     0.12882

        0
> printmat(a, "My very own label", RowLabels, ColLabels);

My very own label =

                   Col 1         2ndThe third Column
Row 1            1.00000     0.03694     0.20414
second row       0.97452     0.16171     0.16731
beavis           0.64748     0.66465     0.65496
butthead         0.33309     0.08467     0.12882